package com.dh.blog.vo;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

/**
 * 归档VO
 * @author David
 *
 */
@JsonInclude(Include.NON_EMPTY)
public class HolderVo implements Serializable{

	/**
	 * serialVersionUID 
	 */
	private static final long serialVersionUID = 447563295098880635L;
	private Integer id;
	/**
	 * 年
	 */
	private Integer year;
	/**
	 * 月
	 */
	private Integer month;
	/**
	 * 入档文章数
	 */
	private Integer articleNum;
	/**
	 * 博客id
	 */
	@JsonIgnore
	private String blogId;
	public HolderVo(){
		
	}
	public HolderVo(Integer year,Integer month,String blogId){
		this.year = year;
		this.month = month;
		this.blogId = blogId;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getYear() {
		return year;
	}
	public void setYear(Integer year) {
		this.year = year;
	}
	public Integer getMonth() {
		return month;
	}
	public void setMonth(Integer month) {
		this.month = month;
	}
	public Integer getArticleNum() {
		return articleNum;
	}
	public void setArticleNum(Integer articleNum) {
		this.articleNum = articleNum;
	}
	public String getBlogId() {
		return blogId;
	}
	public void setBlogId(String blogId) {
		this.blogId = blogId;
	}
	
}
